Fundamental Theorem of Arithmetic
Theorem
Every integer has a unique, up to reordering, factorisation into a product of prime numbers.
Note that by taking as an empty product we can extend this result to .
To prove this we will first prove a weaker result with non-uniqueness.
Lemma
Every integer can be written as a product of primes.
Proof
We proceed with strong induction as follows. First note that because is prime, is expressible as a product of primes.
Now assume than for all satisfying , can be written as a product of primes.
Suppose is prime, then clearly it is a singleton product of primes. If is not prime, then it factors as where . Applying the hypothesis to and we have
where all and are prime. Therefore
a product of primes.
We can now prove uniqueness.
Proof
Assume that are two factorisations of into a product of primes. Then for each , and so by Euclid's lemma we know that divides one of , say . However the only divisors of are and , and by assumption that it is prime. Hence .
Repeating this procedure and removing factors, we are able to pair them uniquely, and also conclude that .